python zeros to nan

35

a[a==0] = np.nan

Comments

Submit
0 Comments